body{
	background-color: #F1F1F1;
}
#chat{
	background-color: #F1F1F1;
	width: 100%;
	height:100%;
	margin: 0 auto;
	font-size: 0.3rem;
}
/*左边信息*/
.left{
	margin-top: 30px;
	width:auto;
	max-width: 74%;
	float: left;
	background-color: #fff;
  border-radius: 8px;
	margin-left: 80px;
	position: relative;
}
.com_image{
	width: 40px;
	height: 40px;
	position: absolute;
	left: -57px;
}
.com_image img{
	width: 100%;
	height: 100%;
}
.left_floag{
	border: 8px solid transparent;
	border-right-color: #fff;
	position: absolute;
	left: -15px;
	top: 5px;
}
/*要添加不同信息的样式，目前先做聊天框的*/
.left_msg p{
	text-align: left;
	padding: 8px 10px;
  min-height: 18px;
}
/*右边信息*/
.right{
	margin-top: 20px;
	float: right;
	width:auto;
	max-width: 74%;
	background-color: #fff;
	border-radius:8px;
	margin-right: 80px;
	position: relative;
}
.person_image{
	width: 40px;
	height: 40px;
	position: absolute;
	right: -57px;
}
.person_image img{
	width: 100%;
	height: 100%;
}
.right_floag{
	border: 8px solid transparent;
	border-left-color: #fff;
	position: absolute;
	right: -15px;
	top: 5px;
}
/*要添加不同信息的样式，目前先做聊天框的*/
.right_msg p{
	text-align: left;
	padding: 8px 10px;
  min-height: 18px;
}
/*发送部分的样式*/
textarea,button{
	margin: 15px 0 0 0;
	padding: 0;
}
#send{
	border: none;
	height: 30px;
	line-height:30px;
	text-align:center;
	width:50px;
	color:#fff;
	border-radius:5px;
	background-color: #114F8E;
	position: relative;
	left: 7px;
}
/*聊天框*/
#message{
	height: 600px;
	overflow: auto;
}
#user_input{
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px;
}
.input_txt{
  border:1px solid #ccc;
  width: 60%;
  height: 28px;
  padding:0 8px;
}
#message::-webkit-scrollbar-track{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
  border-radius: 10px;
}
#message::-webkit-scrollbar{
  width: 5px;
  background-color: #F5F5F5;
}
#message::-webkit-scrollbar-thumb{
  border-radius: 10px;
   background: #4078cb;
}
